package com.hyj.shop.project.goods.domain;

import com.hyj.shop.project.utils.domain.BaseEntity;

import java.util.StringJoiner;

public class Goods extends BaseEntity {
    private int id;
    private String url;
    private String name;
    private Double currentPrice;
    private Double originalPrice;
    private String description;
    private String keywords;
    private String type;
    private String showImg;
    private String attributeList;
    private String video;
    private String mainImgs;
    private String stock;
    private int storeId;

    public int getStoreId() {
        return storeId;
    }

    public void setStoreId(int storeId) {
        this.storeId = storeId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getShowImg() {
        return showImg;
    }

    public void setShowImg(String showImg) {
        this.showImg = showImg;
    }

    public Double getCurrentPrice() {
        return currentPrice;
    }

    public void setCurrentPrice(Double currentPrice) {
        this.currentPrice = currentPrice;
    }

    public Double getOriginalPrice() {
        return originalPrice;
    }

    public void setOriginalPrice(Double originalPrice) {
        this.originalPrice = originalPrice;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getKeywords() {
        return keywords;
    }

    public void setKeywords(String keywords) {
        this.keywords = keywords;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getAttributeList() {
        return attributeList;
    }

    public void setAttributeList(String attributeList) {
        this.attributeList = attributeList;
    }

    public String getVideo() {
        return video;
    }

    public void setVideo(String video) {
        this.video = video;
    }

    public String getMainImgs() {
        return mainImgs;
    }

    public void setMainImgs(String mainImgs) {
        this.mainImgs = mainImgs;
    }

    public String getStock() {
        return stock;
    }

    public void setStock(String stock) {
        this.stock = stock;
    }

    @Override
    public String toString() {
        return "Goods{" +
                "id=" + id +
                ", url='" + url + '\'' +
                ", name='" + name + '\'' +
                ", currentPrice=" + currentPrice +
                ", originalPrice=" + originalPrice +
                ", description='" + description + '\'' +
                ", keywords='" + keywords + '\'' +
                ", type='" + type + '\'' +
                ", showImg='" + showImg + '\'' +
                ", attributeList='" + attributeList + '\'' +
                ", video='" + video + '\'' +
                ", mainImgs='" + mainImgs + '\'' +
                ", stock='" + stock + '\'' +
                ", storeId=" + storeId +
                "} " + super.toString();
    }
}
